home *** CD-ROM | disk | FTP | other *** search
-
-
-
- VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx)))) VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx))))
-
-
-
- NNNNAAAAMMMMEEEE
- VkMenuUndoManager - Support for an undo facility
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- VkMenuAction : VkMenuItem : VkComponent : VkCallbackObject
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <Vk/VkMenuItem.h>
-
-
- PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
- VkMenuUndoManager(const char *, XtCallbackProc, XtPointer);
- ~VkMenuUndoManager();
-
-
- MMMMaaaannnniiiippppuuuullllaaaattttiiiinnnngggg MMMMeeeennnnuuuu IIIItttteeeemmmmssss
- virtual void undo();
-
-
- AAAAcccccccceeeessssssss FFFFuuuunnnnccccttttiiiioooonnnnssss
- virtual const char* className();
- virtual VkMenuItemType menuType ();
- Boolean hasUndo()
-
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class support undoable commands in the ViewKit. Application actions
- can be registered with the undo manager along with a function to be
- called to undo the operation. If an instance of VkMenuUndoManager is
- added to a menu, the menu automatically reflects the last undoable
- command to be registered. Menu actions that have undo callbacks provided
- automatically register with the undo manager. Applications can also
- register functions or use the VkAction class to support undoable
- operations outside the menu system.
-
- Applications should not directly instantiate a VkMenuUndoManager object.
- This object is instantiated automatically, and can be referenced by
- including VkMenuItem.h and referencing _t_h_e_U_n_d_o_M_a_n_a_g_e_r.
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr
- VkMenuUndoManager(const char * name);
-
-
- Initialize a VkMenuUndoManager object. Objects are not normally
- instantiated by applications directly.
-
- ~~~~VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr
- ~VkMenuUndoManager();
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx)))) VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx))))
-
-
-
- Clean up when a VkMenuUndoManager object is destroyed.
- VkMenuUndoManager objects are not normally deleted by applications.
-
- rrrreeeesssseeeetttt
- void reset();
-
-
- Clear all actions registered with the undo manager.
-
- aaaadddddddd
- void add(VkMenuAction *menuObject);
- void add(const char *name,
- XtCallbackProc undocallback,
- XtPointer clientData);
-
-
- Registers an action with the undo manager. The first form is used
- automatically by the other menu classes when an undoable action is
- executed. The second form may be used by applications. The first
- argument is a name for the action, to appear in the the undo menu
- item, if it is present in a menu. The callback must be an Xt-style
- callback function to be called to undo the action, while the final
- argument supplies any data to be passed to the callback function
- when it is invoked.
-
- mmmmuuuullllttttiiiiLLLLeeeevvvveeeellll
- void multiLevel(Boolean flag)
-
-
- If _f_l_a_g is TRUE, the undo manager will allow multiple levels of
- undo. Commands are kept in a stack. Undoing one command pops it from
- the stack, revealing the previously executed command. Once a user
- has undone one command, executing any new command clears the undo
- stack. If _f_l_a_g is FALSE, only the most recent command is
- remembered. In either case, executing any undoable command from the
- menu always clears the undo stack. Applications can also explicitly
- clear the stack using _r_e_s_e_t().
-
- hhhhiiiissssttttoooorrrryyyyLLLLiiiisssstttt
- VkComponentList *historylist()
-
-
- Returns a list of objects representing commands that have been
- executed and that are currently available to be undone. The objects
- will all be subclasses of VkMenuItem. Actions registered explicitly
- or using VkAction objects will be returned as VkMenuActionStub
- objects. VkMenuActionStub is an empty subclass of VkMenuAction.
-
- ccccllllaaaassssssssNNNNaaaammmmeeee
- virtual const char* className();
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx)))) VVVVkkkkMMMMeeeennnnuuuuUUUUnnnnddddooooMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx))))
-
-
-
- Returns "VkMenuUndoManager"
-
- mmmmeeeennnnuuuuTTTTyyyyppppeeee
- virtual VkMenuItemType menuType ();
-
-
- Returns VkMenuItem::ACTION.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkMMMMeeeennnnuuuuAAAAccccttttiiiioooonnnn
- menuType(), hasUndo(), _undoCallback, _func, _data,
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkMMMMeeeennnnuuuuIIIItttteeeemmmm
- show(), hide(), , manageAll(), setLabel(), setPosition(),
- activate(), deactivate(), remove(), show(), isContainer(),
- _position, _isBuilt, _sensitive, _parentMenu, _label, _isHidden,
- _unmanagedWidgets, _numUnmanagedWidgets,
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
- installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
- setDefaultResources(), getResources(), manage(), unmanage(),
- baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
- callCallbacks(), addCallback(), removeCallback(),
- removeAllCallbacks()
-
-
- CCCCLLLLAAAASSSSSSSSEEEESSSS UUUUSSSSEEEEDDDD BBBBYYYY TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
- VkComponent, VkComponentList, VkMenuAction, VkMenuItem
-
- KKKKNNNNOOOOWWWWNNNN CCCCLLLLAAAASSSSSSSSEEEESSSS TTTTHHHHAAAATTTT UUUUSSSSEEEE TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
- VkAction
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- VkMenuAction, VkMenuItem, VkComponent, VkAction, VkComponentList
- _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
- _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-